Copyright (C) 2000-2012 |
GNU Info (efaq)Inserting > at the beginning of each lineHow do I insert `>' at the beginning of every line? =================================================== To do this to an entire buffer, type `M-< M-x replace-regexp <RET> ^ <RET> > <RET>'. To do this to a region, use `string-insert-rectangle'. Set the mark (`C-<SPC>') at the beginning of the first line you want to prefix, move the cursor to last line to be prefixed, and type `M-x string-insert-rectangle <RET>'. To do this for the whole buffer, type `C-x h M-x string-insert-rectangle <RET>'. If you are trying to prefix a yanked mail message with `>', you might want to set the variable `mail-yank-prefix'. Better yet, use the Supercite package (Note: Supercite), which provides flexible citation for yanked mail and news messages; it is included in Emacs since version 19.20. Note: Changing the included text prefix, for additional information. automatically generated by info2www version 1.2.2.9 |